package com.ktjy.ktmall.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ktjy.common.annotation.Excel;
import com.ktjy.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
public class Order extends BaseEntity {
    @Excel(name = "订单编号")
    @TableField(value = "id")
    private Long id;
    @Excel(name = "订单流水号")
    @TableField(value = "order_sn")
    private String orderSn;
    @Excel(name = "会员名")
    @TableField(value = "username")
    private String username;
    @Excel(name = "订单状态")
    @TableField(value = "orderState")
    private Integer orderState;
    @Excel(name = "收货地址")
    @TableField(value = "address")
    private String address;
    @Excel(name = "收货人")
    @TableField(value = "receiver")
    private String receiver;
    @Excel(name = "联系电话")
    @TableField(value = "phone")
    private String phone;
    @Excel(name = "订单金额")
    @TableField(value = "price")
    private Integer order_price;
    @Excel(name = "实际支付金额")
    @TableField(value = "actual_price")
    private Integer actual_price;
    @Excel(name = "创建时间")
    @TableField(value = "create_time")
    private Date createTime;
    @Excel(name = "快递费用")
    @TableField(value = "expressCost")
    private Integer express_cost;
    @Excel(name = "备注")
    @TableField(value = "remark")
    private String remark;
    @Excel(name = "快递公司")
    @TableField(value = "expressCompany")
    private String express_company;
    @Excel(name = "快递单号")
    @TableField(value = "expressNumber")
    private String express_number;
    @Excel(name = "快递费用")
    @TableField(value = "payTime")
    private Integer pay_time;
}
